﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Infrastructure.ExternalService.Core.Product.Request;
using Infrastructure.ExternalService.Core.Product.Response;
using Infrastructure.ExternalService.Core.User;
using Volo.Abp.Application.Dtos;

namespace Infrastructure.ExternalService.Core.Product;

public interface IProductBaseDataExternal: IExternalService
{
    /// <summary>
    /// 根据专业类别id获取专业类别信息
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<ListResultDto<MajorTypeResultDto>> GetMajorTypeListAsync(GetMajorTypeRequest request);
        
    /// <summary>
    /// 根据专业id获取专业信息
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<ListResultDto<MajorResultDto>> GetMajorListAsync(GetMajorRequest request);
    
    
    
    /// <summary>
    /// 根据专业名字获取专业信息
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<ListResultDto<MajorResultDto>> GetMajorListByNames(GetMajorByNameRequest request);

    /// <summary>
    /// 获取字典值
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<List<SysDict>> GetSysDictListAsync(GetSysDictRequest request);

    /// <summary>
    /// 获取Channel
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<ListResultDto<ChannelResultDto>> GetChannelListAsync(GetChannelListRequest request);

    /// <summary>
    /// 
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<ListResultDto<ChannelResultDto>> GetChannelListByNames(GetChannelByNameRequest request);
}